package cn.huapu.power.energy.mapper;

import cn.huapu.power.energy.bean.Clntpwrsourcet;
import cn.huapu.power.energy.bean.bo.DateParameterBo;
import cn.huapu.power.energy.bean.vo.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ClntpwrsourcetMapper extends BaseMapper<Clntpwrsourcet, Integer> {
    ClntPowerVo getTotle(@Param("year") String year,@Param("month")String month,@Param("year1")String year1,@Param("month1")String month1,@Param("id")int id);

    PowerFessZBVo getElectTityZb(DateParameterBo dateParameterBo);

    List<EcectCollectionVo> electCollection(DateParameterBo da);

    List<ElectFormVo> getElectDistr(DateParameterBo da);

    ClientpowerstVo getReadTime(DateParameterBo da);

    ClntPowerVo getReadPower(@Param("date") String date, @Param("date1") String date1, @Param("id")int id);

    Integer getCount(DateParameterBo da);

    List<ClntPowerVo> getDateAndClntcj(@Param("dateOne")String dateOne,@Param("dateTwo")String dateTwo,@Param("id")int id);

    List<ClntPowerVo> getCycleFess(DateParameterBo da);

    List<ClntPowerVo> getElectFessZB(DateParameterBo da);
}